﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Order.Orders.Dto
{
    public class OrderNumberDto
    {
        public string OrderNumber { get; set; }
        private List<string> orderNumbers { get; set; }
        public List<string> OrderNumbers
        {
            get
            {
                if (OrderNumber != null)
                {
                    return new List<string> { OrderNumber };
                }
                return orderNumbers;
            }
            set
            {
                orderNumbers = value;
            }
        }

        public OrderNumberDto()
        {
            OrderNumbers = new List<string>();
        }
    }
}
